package framework.event;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;

public class CustomEvent extends ActionEvent {
	
	private ArrayList<String> list;
	
	public CustomEvent(ActionListener listener, String command, ArrayList<String> list) {
		super(listener, 1, command);
		this.setList(list);
	}
	
	private void setList(ArrayList<String> list) {
		this.list = list;
	};
	
	public ArrayList<String> getList() {
		return this.list;
	};

}
